package cn.zyq.ykb.beans.task;

import cn.zyq.ykb.system.common.BaseBean;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.*;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * 任务-提示信息对象 taskPromptID
 *
 * @author SystemAuth
 * @date 2023-06-06
 */
@Data
@Entity
@Table(name = "`taskPrompt`")
@JsonInclude(value = JsonInclude.Include.NON_NULL)
public class TaskPrompt extends BaseBean implements Serializable {
    /**
     * 主键id，用于关联
     */
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY, generator = "JDBC")
    @Column(name = "`taskPromptID`")
    @ApiModelProperty("主键id，用于关联")
    private Integer taskPromptID;
    /**
     * 提示信息
     */
    @Column(name = "`toast`")
    @ApiModelProperty("提示信息")
    private String toast;
    /**
     * 任务ID
     */
    @Column(name = "`taskID`")
    @ApiModelProperty("任务ID")
    private Integer taskID;
}
